<!DOCTYPE html> 
<html lang="en"> 
<head> 
<meta charset="UTF-8"> 
<meta name="viewport" content="width=device-width, initial-scale=1.0"> 
<title>示例15</title> 
<script> 
   // 把字符串看做字符的数组 
   let [a, b, c, d, ...e] = 'JavaScript'; 
   console.log(a); // J 
   console.log(b); // a 
   console.log(c); // v 
   console.log(d); // a 
   console.log(e.join("")); // Script 
   </script> 
 </head> 
 <body></body> 
 </html> 